package stage1.module4.task1;

public class EmployeeTest {
    public static void main(String[] args) {
        try {
            Employee e = new Employee(null,111);
            System.out.println("name : " + e.getName() + ", age = " + e.getAge());
        } catch (AgeException ageException) {
            ageException.printStackTrace();
        } catch (NameException nameException) {
            nameException.printStackTrace();
        }
    }
}
